<%#
# Copyright 2009 Michal Trzcinka
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
# CONDITIONS OF ANY KIND, either express or implied. See the License for the
# specific language governing permissions and limitations under the License.
#
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title><%= t 'title'  %> </title>

    <!-- Individual YUI CSS files -->
    <link rel="stylesheet" type="text/css" href="/yui/reset-fonts-grids/reset-fonts-grids.css">
    <link rel="stylesheet" type="text/css" href="/yui/container/assets/skins/sam/container.css">
    <link rel="stylesheet" type="text/css" href="/yui/menu/assets/skins/sam/menu.css">
    <link rel="stylesheet" type="text/css" href="/yui/button/assets/skins/sam/button.css">
    <link rel="stylesheet" type="text/css" href="/yui/slider/assets/skins/sam/slider.css">
    <link rel="stylesheet" type="text/css" href="/yui/colorpicker/assets/skins/sam/colorpicker.css">
    <link rel="stylesheet" type="text/css" href="/yui/editor/assets/skins/sam/editor.css">
    <link rel="stylesheet" type="text/css" href="/yui/logger/assets/skins/sam/logger.css">
    <%= stylesheet_link_tag 'style' %>

    <script type="text/javascript" src="/javascripts/locales.js"></script>

    <%= javascript_include_tag 'prototype' %>
    <%= javascript_include_tag 'application' %>

  </head>

  <body class="yui-skin-sam">
    <div class="main">

      <div class="header">
        <div class="block_header">

          <div class="logo">
            <%= link_to image_tag('logo.gif', :border => 0, :alt => 'logo')%>
          </div>
          <div class="clr"></div>
        </div>
        <div class="clr"></div>
      </div>

      <div class="body">
        <div class="FBG">  </div>

        <div class="clr"></div>

        <div class="body_resize">

          <div class="full_b">

            <% if flash[:notice] -%>
              <div id="notice"><%= flash[:notice] %></div>
            <% end -%>

            <h2><%= t 'login.header' %><br /> </h2>
            <div class="form">

              <% form_tag 'login', :id => 'contactform' do %>

                <ol>
                  <li>
                    <label for="login"><%= t :login, :scope => %w{login fields} %></label>
                    <%= text_field_tag :login, params[:login], :class => 'text' %>
                  </li>
                  <li>
                    <label for="password"><%= t :password, :scope => %w{login fields} %></label>
                    <%= password_field_tag :password, params[:password], :class => 'text' %>
                  </li>

                  <li class="buttons">
                    <input type="image" name="imageField" id="imageField" src="/images/login.gif" class="send" />

                    <div class="clr"></div>
                  </li>
                </ol>
              <% end %>
            </div>

          </div>

          <div class="clr"></div>

        </div>
      </div>

    </div>
  </body>


</html>